]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
appFolder: Don't block all shortcuts
authorFlorian Müllner <fmuellner@gnome.org>
Thu, 11 Oct 2018 18:12:54 +0000 (20:12 +0200)
committerFlorian Müllner <fmuellner@gnome.org>
Thu, 11 Oct 2018 18:12:54 +0000 (20:12 +0200)
App folder popups take a grab when opened, and as we don't pass any
particular pushModal() parameters, all keybindings are blocked. While
this makes sense for most keybindings that would interfere with the
popup interaction, others like volume/brightness keys or screenshots
can be allowed safely.

https://gitlab.gnome.org/GNOME/gnome-shell/issues/648

js/ui/appDisplay.js

index 2162292aac3323248d7d3fdaf26ad0985fac6072..a58fa6f848c45fa698a3aa45912026cb245f8469 100644 (file)
@@ -1462,7 +1462,9 @@ var AppFolderPopup = new Lang.Class({
         global.focus_manager.add_group(this.actor);
 
         source.actor.connect('destroy', () => { this.actor.destroy(); });
-        this._grabHelper = new GrabHelper.GrabHelper(this.actor);
+        this._grabHelper = new GrabHelper.GrabHelper(this.actor, {
+            actionMode: Shell.ActionMode.POPUP
+        });
         this._grabHelper.addActor(Main.layoutManager.overviewGroup);
         this.actor.connect('key-press-event', this._onKeyPress.bind(this));
     },